Method, user terminal, network node, and system for controlling transmission of media stream service, storage medium, and electronic device

ABSTRACT

A method for controlling transmission of a media stream service includes: receiving, from a network node in a data network, policy template information for controlling transmission of media stream services and service differentiators corresponding to the policy template information; determining a service differentiator of a to-be-initiated media stream service based on the policy template information and the service differentiators; determining whether a protocol data unit session capable of carrying the to-be-initiated media stream service exists; binding the to-be-initiated media stream service to the quality of service stream in the protocol data unit session in response to a determination that the protocol data unit session exists; and establishing, in response to a determination that the protocol data unit session does not exist, a protocol data unit session including the quality of service stream corresponding to the service differentiator of the to-be-initiated media stream service.

RELATED APPLICATION(S)

This application is a continuation of PCT Patent Application No.PCT/CN2021/119239 filed on Sep. 18, 2021, which claims priority toChinese Patent Application No. 202011059198.2, entitled “METHOD FORCONTROLLING TRANSMISSION OF MEDIA STREAM SERVICE AND ELECTRONIC DEVICE”and filed with the China National Intellectual Property Administrationon September 30, 2020, all of which are incorporated herein by referencein entirety.

FIELD OF THE TECHNOLOGY

The present disclosure relates to the field of wireless communications,and in particular, to a method for controlling transmission of a mediastream service, a user terminal, a network node in a data network, and anetwork node in a core network for controlling transmission of a mediastream service, a system for controlling transmission of a media streamservice, a non-volatile computer-readable storage medium, and anelectronic device.

BACKGROUND

Compared with certain communication systems, the 5G system providesnewer features, such as mobile broadband connection with high bit ratesand low latency, network slicing, and distributed and mobile edgecomputing, which can improve the quality and efficiency of audio andvideo stream services, and can provide new services (for example,virtual reality and mixed reality) beyond the 2D video. This providesnew opportunities both technically and commercially.

The 5G media streaming architecture (SGMSA) offers a simpler and modulardesign that enables third-party content service providers, broadcasters,and mobile network operators to collaborate to varying degrees. Onefocus is on leveraging the concept of capability exposure to provideexternal service providers with a simple manner of interacting with the5G network and device functions, and use the functions provided by 5G toprovide better media services.

In the third generation partnership project technical specification(3GPP TS), a 5G media streaming system (5GMS) is provided for thetransmission of media streams. The 5GMS system is a collection ofapplication functions, application servers, terminal devices, andinterfaces of the 5G media streaming architecture, which supportsdownstream media stream services or upstream media stream services, orboth. Different continuity modes are set for protocol data unit (PDU)sessions to provide different continuity to different PDU sessions.

However, the control of transmission of media streams and data streamsby certain exisiting 5GMS system is not fine-tuned enough. For example,a network side device of the 5GMS system cannot distinguish a pluralityof pieces of media stream service data with the same IP address and portnumber. Moreover, in an interaction process between a network sidedevice and an application server of the 5GMS system, the continuitydesirables of different types of media stream services are notconsidered. Therefore, the interaction and negotiation of the servicecontinuity desirables cannot be realized.

SUMMARY

To overcome certain technical defects, the present disclosure provides amethod for controlling transmission of a media stream service performedby a user terminal, a method for controlling transmission of a mediastream service performed by a network node in a data network, a methodfor controlling transmission of a media stream service performed by anetwork node in a core network, a method for controlling transmission ofa media stream service and an electronic device and a non-volatilecomputer-readable storage medium corresponding thereto.

In one aspect, the present disclosure provides a method for controllingtransmission of a media stream service performed by a user terminal. Themethod includes: receiving, from a network node in a data network,policy template information for controlling transmission of media streamservices and service differentiators corresponding to the policytemplate information, the service differentiators being used fordistinguishing media stream services of different service types in themedia stream services; determining a service differentiator of ato-be-initiated media stream service based on the policy templateinformation and the service differentiators; determining whether aprotocol data unit session capable of carrying the to-be-initiated mediastream service exists, the protocol data unit session including aquality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service; binding the to-be-initiatedmedia stream service to the quality of service stream in the protocoldata unit session in response to a determination that the protocol dataunit session exists; and establishing, in response to a determinationthat the protocol data unit session does not exist, a protocol data unitsession including the quality of service stream corresponding to theservice differentiator of the to-be-initiated media stream service. Thepolicy template information may be considered as a local policy of theuser terminal.

In another aspect, the present disclosure provides a method forcontrolling transmission of a media stream service performed by anetwork node in a data network. The method includes: transmittingservice stream type identifiers of media stream services to a networknode in a core network, the service stream type identifiers being usedfor describing media stream services of different functions in the mediastream services; receiving service differentiators corresponding to themedia stream services from the network node in the core network, theservice differentiators being used for distinguishing media streamservices of different service types in the media stream services, andthe service differentiators being corresponding to the service streamtype identifiers; determining policy template information correspondingto the service differentiators and used for controlling transmission ofthe media stream services; and transmitting the policy templateinformation and the service differentiators to a user terminal.

In yet another aspect, the present disclosure provides a method forcontrolling transmission of a media stream service performed by anetwork node in a data network. The method includes: transmittingto-be-determined service differentiators of media stream services to anetwork node in a core network, the service differentiators being usedfor distinguishing media stream services of different service types inthe media stream services; receiving determined service differentiatorsof the media stream services from the network node in the core network;determining policy template information corresponding to the determinedservice differentiators and used for controlling transmission of themedia stream services; and transmitting the policy template informationand the service differentiators to a user terminal.

In yet another aspect, the present disclosure provides a method forcontrolling transmission of a media stream service performed by anetwork node in a core network, including: receiving service stream typeidentifiers of media stream services from a network node in a datanetwork, the service stream type identifiers being used for describingmedia stream services of different functions in the media streamservices; determining service differentiators of the media streamservices based on the service stream type identifiers of the mediastream services, and a network policy or local configuration informationof a network node in a core network, the service differentiators beingused for distinguishing media stream services of different service typesin the media stream services; and transmitting the servicedifferentiators of the media stream services to the network node in thedata network.

In yet another aspect, the present disclosure provides a method forcontrolling transmission of a media stream service performed by anetwork node in a core network, including: receiving to-be-determinedservice differentiators of media stream services from a network node ina data network, the service differentiators being used fordistinguishing media stream services of different service types in themedia stream services; determining the to-be-determined servicedifferentiators of the media stream services as service differentiatorsof the media stream services in response to a determination that theto-be-determined service differentiators of the media stream servicesmatch a network policy or local configuration information of a networknode in a core network; determining service differentiators that matchthe network policy or the local configuration information of the networknode in the core network as service differentiators of the media streamservices in response to a determination that the to-be-determinedservice differentiators of the media stream services do not match thenetwork policy or the local configuration information of the networknode in the core network; and transmitting the service differentiatorsof the media stream services to the network node in the data network.

In yet another aspect, the present disclosure provides a method forcontrolling transmission of a media stream service. The method includes:transmitting, by a network node in a data network, service stream typeidentifiers of media stream services to a network node in a corenetwork, the service stream type identifiers being used for describingmedia stream services of different functions in the media streamservices; receiving, by the network node in the core network, theservice stream type identifiers of the media stream services from thenetwork node in the data network; determining, by the network node inthe core network, service differentiators of the media stream servicesbased on the service stream type identifiers of the media streamservices, and a network policy or local configuration information of thenetwork node in the core network, the service differentiators being usedfor distinguishing media stream services of different service types inthe media stream services; transmitting, by the network node in the corenetwork, the service differentiators of the media stream services to thenetwork node in the data network; receiving, by the network node in thedata network, the service differentiators corresponding to the mediastream services from the network node in the core network; determining,by the network node in the data network, policy template informationcorresponding to the service differentiators and used for controllingtransmission of the media stream services; transmitting, by the networknode in the data network, the policy template information and theservice differentiators to a user terminal; receiving, by the userterminal, the policy template information and the servicedifferentiators from the network node in the data network; determining,by the user terminal, a service differentiator of a to-be-initiatedmedia stream service based on the policy template information and theservice differentiators; determining, by the user terminal, whether aprotocol data unit session capable of carrying the to-be-initiated mediastream service exists, the protocol data unit session including aquality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service; binding, by the user terminal,the to-be-initiated media stream service to the quality of servicestream in the protocol data unit session in response to a determinationthat the protocol data unit session exists; and establishing, by theuser terminal in response to a determination that the protocol data unitsession does not exist, a protocol data unit session including thequality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service.

In yet another aspect, the present disclosure provides a method forcontrolling transmission of a media stream service. The method includes:transmitting, by a network node in a data network, to-be-determinedservice differentiators of media stream services to a network node in acore network, the service differentiators being used for distinguishingmedia stream services of different service types in the media streamservices; receiving, by the network node in the core network, theto-be-determined service differentiators of the media stream servicesfrom the network node in the data network; determining, by the networknode in the core network, the to-be-determined service differentiatorsof the media stream services as service differentiators of the mediastream services in response to a determination that the to-be-determinedservice differentiators of the media stream services match a networkpolicy or local configuration information of the network node in thecore network; determining, by the network node in the core network,service differentiators that match the network policy or the localconfiguration information of the network node in the core network asservice differentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services do not match the network policy or the localconfiguration information of the network node in the core network; andtransmitting, by the network node in the core network, the servicedifferentiators of the media stream services to the network node in thedata network; receiving, by the network node in the data network, theservice differentiators of the media stream services from the networknode in the core network; determining, by the network node in the datanetwork, policy template information corresponding to the servicedifferentiators and used for controlling transmission of the mediastream services; transmitting, by the network node in the data network,the policy template information and the service differentiators to auser terminal; receiving, by the user terminal, the policy templateinformation and the service differentiators from the network node in thedata network; determining, by the user terminal, a servicedifferentiator of a to-be-initiated media stream service based on thepolicy template information and the service differentiators;determining, by the user terminal, whether a protocol data unit sessioncapable of carrying the to-be-initiated media stream service exists, theprotocol data unit session including a quality of service streamcorresponding to the service differentiator of the to-be-initiated mediastream service; binding, by the user terminal, the to-be-initiated mediastream service to the quality of service stream in the protocol dataunit session in response to a determination that the protocol data unitsession exists; and establishing, by the user terminal in response to adetermination that the protocol data unit session does not exist, aprotocol data unit session including the quality of service streamcorresponding to the service differentiator of the to-be-initiated mediastream service.

In yet another aspect, the present disclosure provides a non-volatilecomputer-readable storage medium, storing computer instructions, thecomputer instructions, when executed by a processor, implementing thefollowing method.

In yet another aspect, the present disclosure provides a computerprogram product or a computer program is provided, the computer programproduct or the computer program including computer instructions, thecomputer instructions being stored in a non-volatile computer-readablestorage medium. A processor of a computing device reads the computerinstructions from the computer-readable storage medium, and executes thecomputer instructions, so that the computing device performs the methodprovided in the aspects or the optional implementations in the aspects.

In yet another aspect, the present disclosure provides an electronicdevice, including: a processor; and a memory, storing a computerexecutable program, the processor, when executing the computerexecutable program, performing the method.

In yet another aspect, the present disclosure provides a user terminalfor controlling transmission of a media stream service, including: amemory; and one or more processors, operably coupled to the memory, thememory and the one or more processors being configured to: receive, froma network node in a data network, policy template information forcontrolling transmission of media stream services and servicedifferentiators corresponding to the policy template information, theservice differentiators being used for distinguishing media streamservices of different service types in the media stream services;determine a service differentiator of a to-be-initiated media streamservice based on the policy template information and the servicedifferentiators; determine whether a protocol data unit session capableof carrying the to-be-initiated media stream service exists, theprotocol data unit session including a quality of service streamcorresponding to the service differentiator of the to-be-initiated mediastream service; bind the to-be-initiated media stream service to thequality of service stream in the protocol data unit session in responseto a determination that the protocol data unit session exists; andestablish, in response to a determination that the protocol data unitsession does not exist, a protocol data unit session including thequality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service.

In yet another aspect, the present disclosure provides a user terminalfor controlling transmission of a media stream service, including: areceiving unit, configured to receive, from a network node in a datanetwork, policy template information for controlling transmission ofmedia stream services and service differentiators corresponding to thepolicy template information, the service differentiators being used fordistinguishing media stream services of different service types in themedia stream services; a first determining unit, configured to determinea service differentiator of a to-be-initiated media stream service basedon the policy template information and the service differentiators; asecond determining unit, configured to determine whether a protocol dataunit session capable of carrying the to-be-initiated media streamservice exists, the protocol data unit session including a quality ofservice stream corresponding to the service differentiator of theto-be-initiated media stream service; and a session unit, configured tobind the to-be-initiated media stream service to the quality of servicestream in the protocol data unit session in response to a determinationthat the protocol data unit session exists; and establish, in responseto a determination that the protocol data unit session does not exist, aprotocol data unit session including the quality of service streamcorresponding to the service differentiator of the to-be-initiated mediastream service.

In yet another aspect, the present disclosure provides a network node ina data network for controlling transmission of a media stream service,including: a memory; and one or more processors, operably coupled to thememory, the memory and the one or more processors being configured to:transmit service stream type identifiers of media stream services to anetwork node in a core network, the service stream type identifiersbeing used for describing media stream services of different functionsin the media stream services; receive service differentiatorscorresponding to the media stream services from the network node in thecore network, the service differentiators being used for distinguishingmedia stream services of different service types in the media streamservices, and the service differentiators being corresponding to theservice stream type identifiers; determine policy template informationcorresponding to the service differentiators and used for controllingtransmission of the media stream services; and transmit the policytemplate information and the service differentiators to a user terminal.

In yet another aspect, the present disclosure provides a network node ina data network for controlling transmission of a media stream service,including: a first transmission unit, configured to transmit servicestream type identifiers of media stream services to a network node in acore network, the service stream type identifiers being used fordescribing media stream services of different functions in the mediastream services; a receiving unit, configured to receive servicedifferentiators corresponding to the media stream services from thenetwork node in the core network, the service differentiators being usedfor distinguishing media stream services of different service types inthe media stream services, and the service differentiators beingcorresponding to the service stream type identifiers; a determiningunit, configured to determine policy template information correspondingto the service differentiators and used for controlling transmission ofthe media stream services; and a second transmission unit, configured totransmit the policy template information and the service differentiatorsto a user terminal.

In yet another aspect, the present disclosure provides a network node ina data network for controlling transmission of a media stream service,including: a memory; and one or more processors, operably coupled to thememory, the memory and the one or more processors being configured to:transmit to-be-determined service differentiators of media streamservices to a network node in a core network, the servicedifferentiators being used for distinguishing media stream services ofdifferent service types in the media stream services; receive determinedservice differentiators of the media stream services from the networknode in the core network; determine policy template informationcorresponding to the determined service differentiators and used forcontrolling transmission of the media stream services; and transmit thepolicy template information and the service differentiators to a userterminal.

In yet another aspect, the present disclosure provides a network node ina data network for controlling transmission of a media stream service,including: a first transmission unit, configured to transmitto-be-determined service differentiators of media stream services to anetwork node in a core network, the service differentiators being usedfor distinguishing media stream services of different service types inthe media stream services; a receiving unit, configured to receivedetermined service differentiators of the media stream services from thenetwork node in the core network; a determining unit, configured todetermine policy template information corresponding to the determinedservice differentiators and used for controlling transmission of themedia stream services; and a second transmission unit, configured totransmit the policy template information and the service differentiatorsto a user terminal.

In yet another aspect, the present disclosure provides a network node ina core network for controlling transmission of a media stream service,including: a memory; and one or more processors, operably coupled to thememory, the memory and the one or more processors being configured to:receive service stream type identifiers of media stream services from anetwork node in a data network, the service stream type identifiersbeing used for describing media stream services of different functionsin the media stream services; determine service differentiators of themedia stream services based on the service stream type identifiers ofthe media stream services, and a network policy or local configurationinformation of a network node in a core network, the servicedifferentiators being used for distinguishing media stream services ofdifferent service types in the media stream services; and transmit theservice differentiators of the media stream services to the network nodein the data network.

In yet another aspect, the present disclosure provides a network node ina core network for controlling transmission of a media stream service,including: a receiving unit, configured to; receive service stream typeidentifiers of media stream services from a network node in a datanetwork, the service stream type identifiers being used for describingmedia stream services of different functions in the media streamservices; a determining unit, configured to determine servicedifferentiators of the media stream services based on the service streamtype identifiers of the media stream services, and a network policy orlocal configuration information of a network node in a core network, theservice differentiators being used for distinguishing media streamservices of different service types in the media stream services; and atransmission unit, configured to transmit the service differentiators ofthe media stream services to the network node in the data network.

In yet another aspect, the present disclosure provides a network node ina core network for controlling transmission of a media stream service,including: a memory; and one or more processors, operably coupled to thememory, the memory and the one or more processors being configured to:receive to-be-determined service differentiators of media streamservices from a network node in a data network, the servicedifferentiators being used for distinguishing media stream services ofdifferent service types in the media stream services; determine theto-be-determined service differentiators of the media stream services asservice differentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services match a network policy or local configurationinformation of a network node in a core network; determine servicedifferentiators that match the network policy or the local configurationinformation of the network node in the core network as servicedifferentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services do not match the network policy or the localconfiguration information of the network node in the core network; andtransmit the service differentiators of the media stream services to thenetwork node in the data network.

In yet another aspect, the present disclosure provides a network node ina core network for controlling transmission of a media stream service,including: a receiving unit, configured to receive to-be-determinedservice differentiators of media stream services from a network node ina data network, the service differentiators being used fordistinguishing media stream services of different service types in themedia stream services; a determining unit, configured to determine theto-be-determined service differentiators of the media stream services asservice differentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services match a network policy or local configurationinformation of a network node in a core network; or determine servicedifferentiators that match the network policy or the local configurationinformation of the network node in the core network as servicedifferentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services do not match the network policy or the localconfiguration information of the network node in the core network; and atransmission unit, configured to transmit the service differentiators ofthe media stream services to the network node in the data network.

In yet another aspect, the present disclosure provides a system forcontrolling transmission of a media stream service, including a userterminal, a network node in a data network, and a network node in a corenetwork, the network node in the data network being configured to:transmit service stream type identifiers of media stream services to thenetwork node in the core network, the service stream type identifiersbeing used for describing media stream services of different functionsin the media stream services; receive service differentiatorscorresponding to the media stream services from the network node in thecore network, the service differentiators being used for distinguishingmedia stream services of different service types in the media streamservices, and the service differentiators being corresponding to theservice stream type identifiers; determine policy template informationcorresponding to the service differentiators and used for controllingtransmission of the media stream services; and transmit the policytemplate information and the service differentiators to a user terminal;the network node in the core network being configured to: receiveservice stream type identifiers of media stream services from thenetwork node in the data network, the service stream type identifiersbeing used for describing media stream services of different functionsin the media stream services; determine service differentiators of themedia stream services based on the service stream type identifiers ofthe media stream services, and a network policy or local configurationinformation of a network node in a core network, the servicedifferentiators being used for distinguishing media stream services ofdifferent service types in the media stream services; and transmit theservice differentiators of the media stream services to the network nodein the data network; and the user terminal being configured to: receive,from the network node in the data network, policy template informationfor controlling transmission of media stream services and servicedifferentiators corresponding to the policy template information, theservice differentiators being used for distinguishing media streamservices of different service types in the media stream services;determine a service differentiator of a to-be-initiated media streamservice based on the policy template information and the servicedifferentiators; determine whether a protocol data unit session capableof carrying the to-be-initiated media stream service exists, theprotocol data unit session including a quality of service streamcorresponding to the service differentiator of the to-be-initiated mediastream service; bind the to-be-initiated media stream service to thequality of service stream in the protocol data unit session in responseto a determination that the protocol data unit session exists; andestablish, in response to a determination that the protocol data unitsession does not exist, a protocol data unit session including thequality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service.

In yet another aspect, the present disclosure provides a system forcontrolling transmission of a media stream service, including a userterminal, a network node in a data network, and a network node in a corenetwork, the network node in the data network being configured to:transmit to-be-determined service differentiators of media streamservices to the network node in the core network, the servicedifferentiators being used for distinguishing media stream services ofdifferent service types in the media stream services; receive determinedservice differentiators of the media stream services from the networknode in the core network; determine policy template informationcorresponding to the determined service differentiators and used forcontrolling transmission of the media stream services; and transmit thepolicy template information and the service differentiators to a userterminal; the network node in the core network being configured to:receive to-be-determined service differentiators of media streamservices from the network node in the data network, the servicedifferentiators being used for distinguishing media stream services ofdifferent service types in the media stream services; determine theto-be-determined service differentiators of the media stream services asservice differentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services match a network policy or local configurationinformation of a network node in a core network; determine servicedifferentiators that match the network policy or the local configurationinformation of the network node in the core network as servicedifferentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services do not match the network policy or the localconfiguration information of the network node in the core network; andtransmit the service differentiators of the media stream services to thenetwork node in the data network; and the user terminal being configuredto: receive, from the network node in the data network, policy templateinformation for controlling transmission of media stream services andservice differentiators corresponding to the policy templateinformation, the service differentiators being used for distinguishingmedia stream services of different service types in the media streamservices; determine a service differentiator of a to-be-initiated mediastream service based on the policy template information and the servicedifferentiators; determine whether a protocol data unit session capableof carrying the to-be-initiated media stream service exists, theprotocol data unit session including a quality of service streamcorresponding to the service differentiator of the to-be-initiated mediastream service; bind the to-be-initiated media stream service to thequality of service stream in the protocol data unit session in responseto a determination that the protocol data unit session exists; andestablish, in response to a determination that the protocol data unitsession does not exist, a protocol data unit session including thequality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service.

In the embodiments of the present disclosure, a policy template with acontinuity feature is received from a network side device, and a userterminal may use, when initiating or changing a media stream service, aPDU session with the appropriate continuity feature to carry the mediastream service. Therefore, the user terminal can realize the continuitycontrol of the media stream service during movement. In this way, theproblem that a mobile network side device cannot configure thecorresponding service continuity for a media stream service of aspecific type of the user terminal according to the actual servicedesirables is resolved.

Other aspects of the present disclosure can be understood by thoseskilled in the art in light of the description, the claims, and thedrawings of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

To facilitate a better understanding of technical solutions of certainembodiments of the present disclosure, accompanying drawings aredescribed below. The accompanying drawings are illustrative of certainembodiments of the present disclosure, and a person of ordinary skill inthe art may still derive other drawings from these accompanying drawingswithout having to exert creative efforts. When the followingdescriptions are made with reference to the accompanying drawings,unless otherwise indicated, same numbers in different accompanyingdrawings may represent same or similar elements. In addition, theaccompanying drawings are not necessarily drawn to scale.

FIG. 1 shows a schematic architecture of a communication systemaccording to certain embodiment(s) of the present disclosure;

FIG. 2A is a schematic flowchart of a method for controllingtransmission of a media stream service performed by a user terminalaccording to certain embodiment(s) of the present disclosure;

FIG. 2B is a schematic diagram of a method for controlling transmissionof a media stream service performed by a user terminal according tocertain embodiment(s) of the present disclosure;

FIG. 3A is a schematic flowchart of a method for controllingtransmission of a media stream service performed by a network nodeaccording to certain embodiment(s) of the present disclosure;

FIG. 3B is a schematic diagram of a method for controlling transmissionof a media stream service performed by a network node in a data networkaccording to certain embodiment(s) of the present disclosure;

FIG. 3C is a schematic flowchart of a method for controllingtransmission of a media stream service performed by a network node in adata network according to certain embodiment(s) of the presentdisclosure;

FIG. 3D is a schematic diagram of a method for controlling transmissionof a media stream service performed by a network node in a data networkaccording to certain embodiment(s) of the present disclosure;

FIG. 4A is a schematic flowchart of a method for controllingtransmission of a media stream service performed by a network node in adata network according to certain embodiment(s) of the presentdisclosure;

FIG. 4B is a schematic flowchart of a method for controllingtransmission of a media stream service performed by a network node in adata network according to certain embodiment(s) of the presentdisclosure;

FIG. 5A is a schematic diagram of a method for controlling transmissionof a media stream service performed by a communication system accordingto certain embodiment(s) of the present disclosure;

FIG. 5B is a schematic diagram of a method for controlling transmissionof a media stream service performed by a communication system accordingto certain embodiment(s) of the present disclosure; and

FIG. 6 shows a schematic architecture of an electronic device accordingto certain embodiment(s) of the present disclosure.

DESCRIPTION OF EMBODIMENTS

To make objectives, technical solutions, and/or advantages of thepresent disclosure more comprehensible, certain embodiments of thepresent disclosure are further elaborated in detail with reference tothe accompanying drawings. The embodiments as described are not to beconstrued as a limitation to the present disclosure. All otherembodiments obtained by a person of ordinary skill in the art withoutcreative efforts shall fall within the protection scope of embodimentsof the present disclosure.

When and as applicable, the term “an embodiment,” “one embodiment,”“some embodiment(s), “some embodiments,” “certain embodiment(s),” or“certain embodiments” may refer to one or more subsets of all possibleembodiments. When and as applicable, the term “an embodiment,” “oneembodiment,” “some embodiment(s), “some embodiments,” “certainembodiment(s),” or “certain embodiments” may refer to the same subset ordifferent subsets of all the possible embodiments, and can be combinedwith each other without conflict.

In certain embodiments, the term “based on” is employed hereininterchangeably with the term “according to.”

In the current 5GMS system, a policy for controlling a media streamservice sent by a network side device to a user terminal does not takeinto account the service continuity of the media stream. Moreover, aflow description identifier related to the policy for controlling amedia stream sent by the network side to the user terminal also includesonly the following information: direction information of an IP flow (forexample, whether the IP flow belongs to an uplink or a downlink), asource IP address, a destination IP address, an IP protocol, a source IPport, and a destination IP port. The media stream service may be furtherexpanded into a generalized Internet data service.

Therefore, a network side device of the current 5GMS system cannotdistinguish data of a plurality of media stream service types with thesame IP address and port number. In addition, during the interactionbetween the network side device of the current 5GMS system and the userterminal, the network side device of the 5GMS system does not configurecorresponding service continuity for the media stream service accordingto the actual service continuity desirables of the multimedia service.

The present disclosure provides a method for controlling transmission ofa media stream service performed by a user terminal, a method forcontrolling transmission of a media stream service performed by anetwork node in a data network, a method for controlling transmission ofa media stream service performed by a network node in a core network, amethod for controlling transmission of a media stream service and anelectronic device and a non-volatile computer-readable storage mediumcorresponding thereto.

In this embodiment of the present disclosure, the network side deviceand the user terminal may use service differentiators to identifysubdivision types of a media stream service, to realize finer QoScontrol of the media stream service. In a further embodiment of thepresent disclosure, the network side device and the user terminal mayfurther divide media stream services with the same servicedifferentiator by using service stream type identifiers, to realizefurther QoS control of the media stream services.

In this embodiment of the present disclosure, the network side deviceand the user terminal may use service differentiators to identifysubdivision types of a media stream service, and divide media streamservices with the same service differentiator by using service streamtype identifiers, to realize finer quality of service (QoS) control ofthe media stream service.

In this embodiment of the present disclosure, a network node of a datanetwork (DN) may negotiate a service differentiator of a media streamservice with a network node of a core network (CN), so that when boththe data network and the core network are informed of/agreed on, thenetwork side device can achieve finer QoS control of the media streamservice.

In addition, in a further embodiment of the present disclosure, a policytemplate with a continuity feature is received from a network sidedevice, and a user terminal may use, when initiating or changing a mediastream service, a PDU session with the appropriate continuity feature tocarry the media stream service. Therefore, the user terminal can realizethe continuity control of the media stream service during movement. Inthis way, the problem that the network side device cannot configure thecorresponding service continuity for a media stream service of aspecific type of the user terminal according to the actual servicedesirables of the multimedia service is resolved. In addition, thenetwork node of the data network can negotiate a continuity feature ofat least one media stream service with the network node of the corenetwork, so that the network side device can control the servicecontinuity.

Referring to FIG. 1 , an architecture of a communication system to whichan embodiment of the present disclosure is applicable is described. Thecommunication system may include a 5G system, or may include any othertype of wireless communication system, for example, a 6G communicationsystem. The embodiments of the present disclosure are described by usingthe 5G system as an example below. However, the following descriptionmay also be applied to other types of wireless communication systems.

FIG. 1 shows an architecture of a communication system to which a methodof an embodiment of the present disclosure is applicable.

The various entities in FIG. 1 are briefly described below.

UE 101 (that is, a user terminal) may be referred to as user equipment(UE), which may be a device that provides voice and/or data connectivityto a user. The UE 101 may communicate with one or more service serversby using a radio access network (RAN). The UE 101 may be a mobileterminal, for example, a mobile phone (or referred to as a “cellular”phone) or a computer with a mobile terminal. For example, the UE 101 maybe a portable, pocket-sized, handheld, computer built-in, or in-vehiclemobile apparatus, for example, a subscriber unit, a subscriber station,a mobile station, a mobile, a remote station, an access point, a remoteterminal, an access terminal, a user terminal, a user agent, or a userdevice.

The UE 101 and a (radio) access network ((R)AN) 102 (referred to as(R)AN 102) establish a wireless connection through a wireless airinterface. In certain embodiment(s), the wireless air interface is awireless air interface based on a 5G standard. For example, the wirelessair interface is NR. Alternatively, the wireless air interface may be awireless air interface based on a next-generation-of-5G mobilecommunication network technology standard (for example, 6G). In additionto the wireless access network, the access network may further includeaccess technologies such as Wi-Fi, Bluetooth, and satellite.

As shown in FIG. 1 , the UE 101 includes a plurality of modules orcircuits to implement various functions in the 5G communication system.The UE 101 includes a 5GMS client 1011 and a 5GMS aware application1012.

The 5GMS aware application 1012 is a functional entity provided by the5GMS application provider and installed on the UE, which is configuredto implement other functions (for example, untrusted data transmissionor non-media related functions) other than those of the 5GMS client1011. The 5GMS aware application 1012 may interact with the 5GMSapplication provider 1023 on the network side through interfaces definedin the 5GMS architecture (for example, an M8 interface in FIG. 1 ), orinteract with the 5GMS client through application interfaces (forexample, M6 and M7 interfaces in FIG. 1 ).

The 5GMS client 1011 is another functional entity in the UE 101 forcontrolling 5G media stream transmission, which can be used fordownlink, uplink, or both. The 5GMS client may be controlled by aninternal or external media application, such as an application, whichimplements application or content service provider specific logic andallows media sessions to be established. The 5GMS client 1011 mayinclude a 5G media stream processing apparatus 10112 and a 5G mediasession processing apparatus 10111.

The 5G media session processing apparatus 10111 may communicate with the5GMS AF 1021 to establish, control, and support transmission of mediasessions. The media session processing apparatus 10111 may expose anapplication interface M6 that can be used by the 5GMS aware application1012 and the media stream processing apparatus 10112. The main functionsof the media session processing apparatus 10111 include: session-levelcontrol of streaming media communication, collection and reporting ofperformance indicators, reporting of usage, provision of networkauxiliary functions, configuration of media control interfaces forinteracting with different UE media functions, configuration of mediacontrol interfaces for media session management, configuration ofcontrol interfaces for performance indicator collection and reporting,and the like.

The 5G media stream processing apparatus 10112 can transmit media streamcontent, can provide the 5GMS aware application 1012 with theapplication interface M7 for media playback, and provide the mediasession processing apparatus 10111 with the application interface M7 formedia stream session control. That is, the application interface M7 canrealize both the interaction with the 5GMS aware application 1012 andthe interaction with the media session processing apparatus 10111.

The network side of the 5GMS system may include a data network (DN) 102and a core network (CN) 103 in FIG. 1 . The CN 103 is a core networkthat can be used for 5G communication. The CN 103 includes a networknode for a network exposure function (NEF) 1031 and a network node for apolicy and charging rules function (PCF) 1032. A person skilled in theart is to understand that the CN 103 may further support communicationnetworks in later eras, such as 6G. The DN 102 is a network responsiblefor providing data services for terminals. For example, some networknodes in the DN 102 are service servers that provide Internet accessfunctions for the UE 101, and some other network nodes in the DN 102 areservice servers that provide a short message function for the UE 101,and the like. The DN 102 includes a 5GMS AF (5G network node forcontrolling media stream service functions) 1021, a 5GMS AS (applicationserver dedicated to 5G streaming media) 1022, and a 5G applicationprovider 1023.

The 5GMS AF 1021 is a network node in the DN 102 dedicated tocontrolling media streaming functions. As shown in FIG. 1 , for a 5Gmedia stream service, the 5GMS AF 1021 may provide media stream sessionconfiguration information to the media session processing apparatus10111 through the interface M5 to implement media stream sessionprocessing and control, and assist in the transmission of media streamcontent. For example, the 5GMS AF 1021 may provide server addresses,delivery traffic reporting policies, performance index reportingpolicies, configuration related to network auxiliary information, andthe like. The 5GMS AF 1021 may deliver information such as a policytemplate for controlling the media stream service function to the mediasession processing apparatus 10111 through the interface M5, to controlthe implementation of the media streaming function. The 5GMS AS 1022 maysend or receive relevant data of the media stream service to the mediastream processing apparatus 10112 or from the media stream processingapparatus 10112 through the interface M4. The 5GMS AF 1021 may bedirectly connected to the NEF (network exposure function) 1031 and thePCF (policy and charging rules function) 1032 of the CN 103 through theinterfaces N5 and N33 respectively, to support the functions related tonetwork capability exposure, and policy and charging rules.

The NEF 1031 is a network node used in the 5G core network to provideframeworks, authentications, and interfaces related to networkcapability exposure, and to transfer information between networkfunctions of the 5G system and other network functions. The 5GMS AF 1021sends the application deployment location, distribution rules, routingrules, and other information to the NEF through the interface N33, andthe information is finally sent to an SMF (a network node for sessionmanagement functions, not shown) through network functions such as apolicy control function (PCF). The SMF uses the information to select adata network access identifier (DNAI) and a user plane function (UPF),and set traffic distribution rules, routing rules, and the like.

The PCF 1032 interacts with the 5GMS AF 1021 through the interface N5,and has a main function of performing policy control in the 5G corenetwork, which is similar to a policy and charging rules function (PCRF)network node in the LTE. The PCF 1032 is responsible for the generationof policy authorization, service quality, and charging rules, anddelivers the corresponding rules to the UPF network node through the SMFnetwork element to perform the installation of the correspondingpolicies and rules. The NEF 1031, the PCF 1032, or a combinationthereof, or a combination thereof and any other network node is alsoreferred to as a network node in the core network.

FIG. 2A is a flowchart of a method 200 for controlling transmission of amedia stream service performed by a user terminal to which an embodimentof the present disclosure is applicable. FIG. 2B is a schematic diagramof a method 200 for controlling transmission of a media stream serviceperformed by a user terminal to which an embodiment of the presentdisclosure is applicable. The method described in FIG. 2A and FIG. 2Bmay be performed by the UE 101 in FIG. 1 . A description is made belowby taking an example in which the UE 101 performs the method 200.

In step S201, the UE 101 receives, from a network node in a datanetwork, policy template information for controlling transmission ofmedia stream services and service differentiators corresponding to thepolicy template information, the service differentiators being used fordistinguishing media stream services of different service types in themedia stream services.

In certain embodiment(s), as shown in FIG. 2B, the network node in thedata network may be the 5GMS AF 1011 in FIG. 1 . The module/circuit inthe UE 101 for receiving the policy template information is the 5G mediasession processing apparatus 10111. In certain embodiment(s), a personskilled in the art may also understand that the UE 101 may alternativelyuse other built-in modules or external modules to receive the policytemplate information.

The policy template information includes a set of parameters (alsoreferred to as assets) that are negotiated by network nodes in the corenetwork (the NEF 1031, the PCF 1032, or a combination thereof) and the5GMS AF 1011. The parameters define the quality of service (QOS) andrelated charging policies of media stream services. The 5GMS AF 1011 maycreate, obtain, update, and delete related policy template resources inthe process of negotiation with network nodes in the core network bycreating a data model of the policy template. Therefore, the policytemplate information may also be referred to as policy templates, policytemplate resources, policy template resource information, policytemplate data, or the like. In the present disclosure, the naming mannerof the policy template information is used as an example, but the nameof the policy template information is not limited.

Particularly, after receiving the policy template, the UE 101 may usethe policy template as the local configuration information of the UE101. When the UE 101 does not support a user equipment routing selectionpolicy (URSP), or the URSP is not provided, or the URSP does not containa desirable for service continuity, the media stream service is bound toa specific PDU session by using the policy template information, orwhether a new PDU session is initiated is determined. The URSP definesservice-level configuration and management policies, which are generatedby network nodes in the core network and sent to a user terminal througha network control plane.

Generally, when the UE 101 supports and is provided with the URSP, theUE 101 may bind the media stream services to a specific PDU sessionaccording to the URSP, or determine whether to initiate a new PDUsession. The UE 101 may also not support or be provided with the URSP.The UE 101 may bind the media stream services to a specific PDU sessionaccording to the local configuration, or determine whether to initiate anew PDU session.

In certain embodiment(s), the media stream services include media streamservices of at least one service type. For example, an application mayprovide different traffic with many characteristics, and each type oftraffic may correspond to one service type. For example, instantmessaging software may include media stream services for voice calls,media stream services for text transmission, and the like.Alternatively, the instant messaging software may further include mediastream services that desire high QoS transmission, media stream servicesthat desire normal QoS transmission, media stream services that desirehigh service continuity, and media stream services that do not desireservice continuity. The media stream service may be further expandedinto a generalized Internet data service.

In certain embodiment(s), a service differentiator may be used toindicate a service type and a matching feature of a media streamservice. In certain embodiment(s), service types are in one-to-onecorrespondence with service differentiators. The service differentiatoris information that uses at least one of numbers, characters, andsymbols to describe the service type. The service differentiator mayalso be referred to as other names such as a service difference symbol,a service differentiator, and a service type. In the present disclosure,the service differentiator is used as an example for description, andthe name of the service differentiator is not limited. The servicedifferentiator is used for identifying a service type of traffic in anapplication. That is, the service differentiator is used for identifyinga category of a packet of the application. The service differentiatormay be determined by the 5GMS AF 1021, or by negotiation of the networknodes in the core network (the NEF 1031, the PCF 1032, or a combinationthereof). The service differentiators are usually different betweendifferent applications. In certain embodiment(s), a person skilled inthe art may also understand that different applications mayalternatively have the same service differentiator.

In certain embodiment(s), the service differentiators include at leastone of the following: type of service (TOS) information for InternetProtocol version 4 (IPv4), traffic class information for InternetProtocol version 6 (IPv6), flow label information for Internet Protocolversion 6 (IPv6), or packet filter direction information.

The TOS is a field in a IP header of IPv4, which defines the servicelevel of the message. In certain embodiment(s), the TOS further includesa differentiated services code point (DSCP), which defines differentpriorities for the message: network control, inter-network control,critical, extremely fast, flash, fast, priority, and normal. DifferentDSCP values usually correspond to different types of services, forexample, flash usually corresponds to the transmission of media streamdata of voice, and fast usually corresponds to the transmission of mediastream data of video. A length of an IPv6 IP address is 128 bits, whilea length of an IPv4 IP address is 32 bits. Therefore, for IPv6, morefields may be used to represent types of media stream services. Thetraffic class information is a field in an IP header using IPv6, whichis used to identify a traffic flow class corresponding to IPv6, or apriority level, and has a function similar to a type of service (ToS)field in IPv4. The flow label information is another field in the IPheader using IPv6, which may be used to mark a data stream type of thepacket, to distinguish different packets at the network layer, andperform QoS processing for specific service streams. The packet filterdirection information indicates whether the packet belongs to the uplinkor downlink. Therefore, different continuity services can be set for thetransmission direction of the packets.

In certain embodiment(s), the receiving policy template information forcontrolling transmission of media stream services and servicedifferentiators corresponding to the policy template information furtherincludes: receiving a dynamic policy resource from the network node inthe data network, where the dynamic policy resource includes: a policytemplate identifier for identifying the policy template information, andflow description identifiers including the service differentiatorscorresponding to the policy template information.

For example, the UE 101 may receive an improved dynamic policy resourceshown in the following table from the 5GMS AF 1021, where flowdescription identifiers in the improved dynamic policy resource includeservice differentiators.

TABLE 1 Improved Dynamic Policy Resource Attribute Name DescriptionPolicy template identifier Identify which policy template is to beapplied to the media stream service Flow description identifierIncluding only direction information of an IP flow (for example, whetherthe IP flow belongs to an uplink or a downlink), a source IP address, adestination IP address, an IP protocol, a source IP port, and adestination IP port, but also a service differentiator Applicationservice configuration Uniquely identify the 5GMS downlink applicationservice Id configuration, and may be linked to the application serviceprovider Enhancement method Describe the policy enhancement method, andthis parameter is set by 5GMS AF.

As shown above, the flow description identifiers may include not onlythe service differentiators, but also an IP quintuple. The IP quintupleincludes a source IP address, a source port, a destination IP address, adestination port, and a transport layer protocol. For example, theservice differentiators may be further added to the dynamic policyresource limit as a subset of the flow description identifiers.Therefore, the policy template information may be associated with theservice differentiators through the dynamic policy resource, therebyindicating a control policy of a media stream service of at least oneservice type.

Alternatively, the dynamic policy resource may further store the servicedifferentiators and the policy template identifiers in the form of akey-value pair to establish an association relationship between theservice differentiators and the policy template identifiers, and furtherdetermine the correlation between the service differentiators and thecontinuity features of the media stream services through the associationrelationship. For example, the flow description identifiers of theservice differentiators are used as keys and the policy templateidentifiers are used as values to construct the following key-valuepairs: <flow description identifier corresponding to servicedifferentiator SD-1, policy template identifier policyTemplateId-1>,<flow description identifier corresponding to service differentiatorSD-2, policy template identifier policyTemplateId-2>, <flow descriptionidentifier corresponding to service differentiator SD-3, policy templateidentifier policyTemplateId-3>, and the like. For example, a dynamicpolicy resource may further construct a key-value pair with a policytemplate identifier as a key and a flow description identifier of aservice differentiator as a value. For example, a dynamic policyresource may further construct a key-value pair with a policy templateidentifier as a key and a service differentiator as a value.

The manner of associating the service differentiators with the policytemplate identifiers is not further limited in the present disclosure.In certain embodiment(s), a plurality of service differentiators maycorrespond to one policy template identifier, a plurality of policytemplate identifiers may alternatively correspond to one servicedifferentiator, and a plurality of service differentiators mayalternatively correspond to a plurality of policy template identifiers.This is not limited in the present disclosure.

In certain embodiment(s), the policy template information may alsoinclude service differentiators. For example, at least one of type ofservice (TOS) information for Internet Protocol version 4 (IPv4),traffic class information for Internet Protocol version 6 (IPv6), flowlabel information for Internet Protocol version 6 (IPv6), or packetfilter direction information in the service differentiators may be addedto the policy template information, so that the service differentiatorsand the policy template information are associated.

In certain embodiment(s), the policy template information may furtherinclude a plurality of different service differentiators, and differentpolicy templates may alternatively include the same servicedifferentiator. This is not limited in the present disclosure.

To control the service continuity, the present disclosure furtherprovides the following examples of improved policy template information.Continuity features of media stream services are included in theimproved policy template information. For example, Table 2 shows anexample of an improved policy template information, which exemplarilyshows some parameters of a policy template. In the embodiments of thepresent disclosure, the Session and Service Continuity (SSC) mode isused to characterize the continuity features of the media streamservices. A person skilled in the art is to understand that otherparameters may be alternatively used to characterize the continuityfeatures of the media stream services.

TABLE 2 Policy Template Information Property Description Policy templateidentifier A unique identifier for this policy template within the scopeof the provisioned session. State The policy template may be in apending, ready, or paused state. Only a policy template in a ready statecan be instantiated as a dynamic policy instance and applied to astreaming session. API endpoint An API endpoint that is to be calledwhen a dynamic policy instance is activated based on this policytemplate External reference An additional identifier for this policytemplate, which is unique within the scope of its provisioning session,and can be cross-referenced with external metadata about the streamingsession QoS specification Specify the network quality of service to beapplied to the streaming session in this policy template Applicationsession context Specify information about the application sessioncontext to which this policy template can be applied AF applicationidentifier Identifier of the application function (AF) application, suchas the identifier of the 5GMS AF 1021 Slice information Network sliceinformation Data network name (Dnn) Data network name Session andservice continuity Session and service continuity mode (SSC mode) aspidIdentifier of the application service provider, for example, theidentifier of the 5GMS application provider 1023 Charging specificationProvide information about the charging policy to be used for this policytemplate

In Table 2, the SSC mode is sent from the 5GMS AF 1021 to the UE 101with the policy template information in the form of an asset of thepolicy template resource.

In certain embodiment(s), the SSC mode is associated with a protocoldata unit (PDU) session and remains unchanged for the duration of thePDU session. The 5G network defines the following three SSC modes:

SSC mode 1: The network does not change a PDU session anchor for theterminal to access the service, and ensures that the IP address remainsunchanged when the UE accesses the service.

SSC mode 2: The network may establish a new PDU session anchor for theUE to access the service, and before the new PDU session anchor isestablished, the network releases an old PDU session anchor for the UEto access the service.

SSC mode 3: The network releases a previous PDU session anchor after thenew PDU session anchor is established, to ensure service continuity.

In certain embodiment(s), the session and service continuity mode may bealternatively sent from a network node in the data network to the userterminal with the policy template information in the form of parametersin the application session context in the policy template resource.

For example, Table 3 shows another example of the policy templateinformation, which exemplarily shows some parameters of a policytemplate. In Table 3, the service differentiators are sent from the 5GMSAF 1021 to the UE 101 with the policy template information in the formof assets of the policy template resource. The SSC mode is sent from the5GMS AF 1021 to the UE 101 with the policy template information in theform of parameters in the application session context in the policytemplate resource.

TABLE 3 Policy Template Information Property Description Policy templateidentifier A unique identifier for this policy template within the scopeof the provisioned session. State The policy template may be in apending, ready, or paused state. Only a policy template in a ready statecan be instantiated as a dynamic policy instance and applied to astreaming session. API endpoint An API endpoint that is to be calledwhen a dynamic policy instance is activated based on this policytemplate External reference An additional identifier for this policytemplate, which is unique within the scope of its provisioning session,and can be cross-referenced with external metadata a bout the streamingsession QoS specification Specify the network quality of service to beapplied to the streaming session in this policy template Applicationsession Specify information about the application session contextcontext to which this policy template can be applied, including the SCCmode as parameters AF application identifier Identifier of the AFapplication, for example, the identifier of the 5GMS AF 1021 Sliceinformation Network slice information Data network name (Dnn) Datanetwork name aspid Identifier of the application service provider, forexample, the identifier of the 5GMS application provider 1023 Servicedifferentiator Provide a service type of a media stream for the policytemplate Charging specification Provide information about the chargingpolicy to be used for this policy template

The dynamic policy resources are associated with the servicedifferentiators, so that the policy template information can indicatecontinuity features of media stream services of at least one mediastream service type. For example, it is assumed that a piece of policytemplate information has a policy template identifier:policyTemplateId-1. In a dynamic policy resource, a servicedifferentiator included in a flow description identifier correspondingto policyTemplateId-1 is SD-1. The policy template information includesa continuity feature CF1 of a media stream service. Since the servicedifferentiator SD-1 and the continuity feature CF1 of the media streamservice are associated through the policy template identifierpolicyTemplateId-1, the UE 101 can infer that the service differentiatorSD-1 and the continuity feature CF1 of the media stream service areassociated. That is, the media stream service corresponding to the flowdescription identifier including the service differentiator SD-1 is tohave the continuity feature CF1 of the media stream service.

For example, it is assumed that a piece of policy template informationhas a policy template identifier: policyTemplateId-1. The policytemplate information includes the service differentiator SD-1 and thecontinuity feature CF1 of the media stream service. Since both theservice differentiator SD-1 and the continuity feature CF1 of the mediastream service are located in the policy template information with thepolicy template identifier policyTemplateId-1, the UE 101 can infer thatthe service differentiator SD-1 and the continuity feature CF1 of themedia stream service are associated. That is, the media stream servicecorresponding to the service differentiator SD-1 is to have thecontinuity feature CF1 of the media stream service.

Alternatively, the policy template information may alternatively storethe service differentiators and the continuity features of the mediastream services in the form of a key-value pair to establish anassociation relationship between the service differentiators and thecontinuity features of the media stream services. For example, theservice differentiators are used as keys and the continuity features ofthe media stream services are used as values to construct the followingkey-value pairs: <service differentiator SD-1, continuity feature CF1 ofmedia stream service>, <service differentiator SD-2, continuity featureof media stream service CF2>, <service differentiator SD-3, continuityfeature of media stream service CF1>, and the like. The manner ofassociating the service differentiators with the continuity features ofthe media stream services is not further limited in the presentdisclosure.

In step S202, the UE 101 determines a service differentiator of ato-be-initiated media stream service based on the policy templateinformation and the service differentiators.

For example, it is assumed that the service differentiators are TOSvalues. It is assumed that the UE 101 wishes to use the current networkto carry media stream services of an application A of the instantmessaging software. After receiving the policy template information andthe service differentiators, the UE can determine TOS valuescorresponding to media stream services for voice calls in theapplication A and TOS values corresponding to media stream services fortext transmission in the application A, so that media stream servicescorresponding to different service differentiators can be carried bydifferent QoS streams. For example, the media stream services for voicecalls may be carried using QoS streams corresponding to “flash”, and themedia stream services for text transmission may be carried using QoSstreams corresponding to “normal”.

In step S203, the UE 101 determines whether a protocol data unit sessioncapable of carrying the to-be-initiated media stream service exists, theprotocol data unit session including a quality of service stream(referred to as QoS streams below) corresponding to the servicedifferentiator of the to-be-initiated media stream service.

The quality of service includes resource types (GBR, Delay critical GBR,or Non-GBR), priority levels, a packet error rate (PER), and the like.Within 5GS, one PDU session may include one or more QoS streams. The QoSstream is controlled by the network side, which can either bepre-configured or established through the PDU session establishmentprocedure or the PDU session modification procedure.

It is assumed that the UE 101 currently only establishes one PDUsession, and QoS streams thereon can only correspond to the TOS valuescorresponding to “normal”. The UE 101 determines that the media streamservices for text transmission may be carried by the PDU session, anddetermines that the media stream services for voice calls cannot becarried by the PDU session.

It is assumed that the UE 101 currently has only one PDU session, afirst QoS stream thereon can only correspond to a TOS valuecorresponding to “normal”, and a second QoS stream can only correspondto a TOS value corresponding to “flash”. The UE 101 determines that themedia stream services for text transmission and the media streamservices for voice calls can both be carried by the PDU session.

In addition, if the policy template information includes the continuityfeatures of the media stream services, the UE 101 may further determinewhether a protocol data unit session capable of carrying theto-be-initiated media stream service exists based on this. For example,the UE 101 may determine whether the protocol data unit session capableof carrying the to-be-initiated media stream service has a continuityfeature of the to-be-initiated media stream service according to thecontinuity features of the media stream services in the policy templateinformation.

For example, it is assumed that the policy template informationindicates that all media stream services of the application A may becarried by using a PDU session with SSC mode 1. When the UE 101initiates the media stream services of the application A, it may bedetermined that a continuity feature of the media stream services of theapplication A is the SSC mode 1.

For example, it is assumed that the policy template information and theflow description identifiers both indicate that a packet with a TOSvalue of x in the media stream services of the application A may becarried by the PDU session with the SSC mode 1, and a packet with a TOSvalue of y in the media stream services of the application A may becarried by the PDU session with the SSC mode 2. When the UE 101initiates the media stream service with the TOS value of x of theapplication A, it may be determined that a continuity feature of themedia stream service with the TOS value of x of the application A is theSSC mode 1. When the UE 101 initiates the media stream service with theTOS value of y of the application A, it may be determined that acontinuity feature of the media stream service with the TOS value of yof the application A is the SSC mode 2.

Step S204: Bind the to-be-initiated media stream service to the qualityof service stream in the protocol data unit session in response to adetermination that the protocol data unit session exists; and establish,in response to a determination that the protocol data unit session doesnot exist, a protocol data unit session including the quality of servicestream corresponding to the service differentiator of theto-be-initiated media stream service.

Therefore, the UE 101 may bind a media stream service of a specificservice type to a quality of service (QoS) stream corresponding to aservice differentiator in the PDU session based on the servicedifferentiator.

For example, media stream services used for payment in the media streamservices of the application A may be carried by the service streams witha higher QoS level in the PDU session, and media stream services usedfor traffic reporting in the media stream services of the application Amay be carried by the service streams with a normal QoS level in the PDUsession. Alternatively, the media stream service with the TOS value of xin the media stream services of the application A may be carried by theservice streams with a higher QoS level in the PDU session, and themedia stream service with the TOS value of y in the media streamservices of the application A may be carried by the service streams witha normal QoS level in the PDU session.

In addition, if the policy template information includes the continuityfeatures of the media stream services, the UE 101 may further determinewhether a protocol data unit session to be initiated meets thecontinuity desirables based on this. Since an SSC mode of a PDU sessiondoes not change during existence, in response to a determination that aPDU session matching a continuity feature of a to-be-initiated mediastream service exists, the UE 101 may bind the to-be-initiated mediastream service to the PDU session, so that the PDU session can carry theto-be-initiated media stream service. In certain embodiment(s), if thereis no PDU session that matches the continuity feature of theto-be-initiated media stream service, the UE 101 may establish a PDUsession (that is, a PDU session with a specific SSC mode) that meets thecontinuity desirables of the to-be-initiated media stream service.

Combined with the continuity features of the media stream services andthe service differentiators, the UE 101 may further determine which QoSstream of which PDU session the media stream services are bound to. Forexample, in response to a determination that the protocol data unitsession has the continuity feature of the to-be-initiated media streamservice, the UE 101 binds the to-be-initiated media stream service tothe quality of service stream in the protocol data unit session. Inresponse to a determination that the protocol data unit session does nothave the continuity feature of the to-be-initiated media stream service,the UE 101 establishes a protocol data unit session including thecontinuity feature of the to-be-initiated media stream service and thequality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service.

According to the embodiments of the present disclosure, a media streamservice of a specific service type can be transmitted through differentQoS streams of the same PDU session, or a specific service stream can betransmitted through different PDU sessions, where the different PDUsessions may have at least one different parameter among servicecontinuity, network slicing, and DNN.

By receiving the policy template with the SSC mode from the 5GMS AF1021, the UE 101 may use, when initiating or changing a media streamservice, a PDU session with the appropriate SSC mode to carry the mediastream service. Therefore, the UE 101 can realize the continuity controlof the media stream service during movement. In this way, the problemthat a data network cannot configure the corresponding servicecontinuity for a media stream service for the user terminal is resolved.

In certain embodiment(s), in response to a determination that the userterminal 101 supports the URSP, the user terminal may further receive atleast one service differentiator from a network node in a core network,the service differentiator being used for distinguishing media streamservices of different service types in the media stream services. Basedon the at least one service differentiator, the user terminal determinesa service differentiator corresponding to a media stream service of oneservice type in the to-be-initiated media stream services, and binds,based on the service differentiator, the media stream service of theservice type to a QoS stream corresponding to the service differentiatorin the PDU session.

For example, the service differentiator may be delivered from the PCF1032 to the user terminal 101 through the URSP. The servicedifferentiator may be determined through negotiation of the 5GMS AF 1021and the NEF/PCF. The URSP generated at the PCF includes the servicedifferentiator determined through negotiation of the 5GMS AF 1021 andthe NEF/PCF.

In certain embodiment(s), in response to a determination that the userterminal supports the URSP, the user terminal may further receive thecontinuity feature of the media stream service from a network node in acore network; determine a continuity feature of the to-be-initiatedmedia stream service based on the continuity feature; and bind the mediastream service to the PDU session with the continuity feature based onthe continuity feature.

For example, when the service continuity feature is the SSC mode, theSSC mode may be alternatively delivered from the PCF 1032 to the userterminal 101 through the URSP. The SSC mode may be determined throughnegotiation of the 5GMS AF 1021 and the NEF/PCF. The URSP generated atthe PCF includes the SSC mode determined through negotiation of the 5GMSAF 1021 and the NEF/PCF.

In certain embodiment(s), in response to a determination that the userterminal 101 supports the URSP, the user terminal may further receivethe service differentiator and the SSC mode from the network node in thecore network.

If both a policy template with the SSC mode and a service differentiatorcorresponding to the policy template are received from the 5GMS AF 1021,the UE 101 can use a PDU session with an appropriate SSC mode to carry amedia stream service of a specific service type. Therefore, the UE 101can realize the continuity control of a media stream service of aspecific type during movement. In this way, the problem that a datanetwork cannot configure the corresponding service continuity for amedia stream service of a specific type for the user terminal isresolved.

FIG. 3A is a flowchart of a method 3010 for controlling transmission ofa media stream service performed by a network node in a data network.FIG. 3B is a schematic diagram of a method 3010 for controllingtransmission of a media stream service performed by a network node in adata network to which an embodiment of the present disclosure isapplicable. FIG. 3C is a flowchart of a method 3020 for controllingtransmission of a media stream service performed by a network node in adata network. FIG. 3D is a schematic diagram of a method 3020 forcontrolling transmission of a media stream service performed by anetwork node in a data network, to which an embodiment of the presentdisclosure is applicable. The method 3010 and the method 3020 may beperformed by the 5GMS AF 1021 in FIG. 1 . A description is made below bytaking an example in which the 5GMS AF 1021 performs the method 3010 andthe method 3020. As shown in FIG. 3A and FIG. 3B, the method 3010includes steps S3011-S3014.

In step S3011, the 5GMS AF 1021 transmits service stream typeidentifiers of media stream services to a network node (for example, theNEF 1031 or the PCF 1032, or a combination thereof) in a core network,the service stream type identifiers being used for describing mediastream services of different functions in the media stream services.

The network nodes in the core network include network nodes (forexample, the NEF 1031) for controlling a network exposure function andnetwork nodes (for example, the PCF 1032) for controlling a networkpolicy and charging rules function.

For example, the service stream type identifiers are used for describingmedia stream services of different functions in the media streamservices. Alternatively, the service stream type identifiers mayrepresent features of the media stream service types. For example, theservice stream type identifier may indicate that a specific media streamservice is one of the following: media data, network auxiliaryinformation, usage reporting information, or the like. Therefore, theservice streams of media streams of different functions can bedistinguished by the service stream type identifiers. Since media streamservices of different service stream types may be carried by servicestreams with different QoS, a network node of the 5G core network may beused to indicate service differentiators that different media streamservice types may be provided with to the 5GMS AF 1021 according to theservice stream type identifiers. Therefore, a service stream of aspecific service type can be transmitted by different QoS streams of thesame PDU session through a service differentiator that is negotiated bythe network; or a specific service stream can be transmitted bydifferent PDU sessions.

In certain embodiment(s), the 5GMS AF 1021 may further send otherservice desirables and related information about the media streamservices to network nodes (for example, the NEF 1031, the PCF 1032, orboth) in the core network (for example, the CN 103), to assist thenetwork nodes in the CN 103 to be able to set, according to desirablesproposed by the 5GMS AF 1021, a more accurate network policy (that is, apolicy template subsequently delivered by the 5GMS AF 1021 to the UE101) for the media stream services that is more in line with the networkagreement signed between the user and the core network. For example, the5GMS AF 1021 may further send identification information of the 5GMS AF1021, identification information of the 5GMS application provider 1023,QoS desirable information, network slice desirable information, and thelike to the network node in the core network. The information sent bythe 5GMS AF 1021 to the network nodes in the core network are notlimited in the present disclosure, as long as the information can helpthe core network and the 5GMS AF to negotiate a policy for servicetransmission.

In certain embodiment(s), the 5GMS AF 1021 may further send a continuitydesirable of at least one media stream service to a network node in thecore network (for example, the NEF 1031 or the PCF 1032, or acombination thereof). In certain embodiment(s), the at least one mediastream service corresponds to a service type of at least one mediastream. Therefore, the 5GMS AF 1021 transmits a continuity desirable ofa service type of at least one media stream to a network node (forexample, the NEF 1031 or the PCF 1032, or a combination thereof) in thecore network.

In certain embodiment(s), the continuity desirable of at least one mediastream service may be described in various manners. For example, thecontinuity desirable of at least one media stream service may bedescribed in text: “this service needs to ensure service continuity withthe IP address of the UE being unchanged”, “the IP address of the UE canbe changed during the execution of this service but the service is notinterrupted”, or the like. The continuity desirable of at least onemedia stream service may be alternatively directly described by anindicator of the SSC mode (for example, if the SSC mode 1 is adopted, anindicator “1” can be directly used), which indicates that the mediastream service desires a specific SSC mode. The form of the continuitydesirable is not limited in the present disclosure.

Based on this, the network node (for example, the NEF, the PCF, or both)in the core network may set a service continuity feature (for example,an SSC mode) for the media stream service according to the desirablesproposed by the 5GMS AF 1021. In certain embodiment(s), the network nodein the core network may further determine corresponding differentservice continuity features (for example, SSC modes) for different mediastream service types in the media stream services.

In certain embodiment(s), a specific media stream service (for example,a media stream service of the application A) may correspond to aplurality of service stream types (for example, media stream serviceswith different functions). For example, a video media stream sessionincludes data transmission of upstream video media stream services, datatransmission of downstream video media streams, control datatransmission of upstream video media stream services, control datatransmission of downstream video media streams, and the like. Differentservice stream types may alternatively correspond to different servicecontinuity features.

Step S3012: Receive service differentiators corresponding to the mediastream services from the network node in the core network, the servicedifferentiators being used for distinguishing media stream services ofdifferent service types in the media stream services, and the servicedifferentiators being corresponding to the service stream typeidentifiers.

In certain embodiment(s), the network node in the core networkdetermines a corresponding service differentiator for the service streamtype identifier based on a network policy or local configurationinformation thereof. Therefore, it can be ensured that the configurationof the service differentiator on the service server side (for example,the 5GMS AF 1021) is consistent with the configuration on the user planeand the URSP in the CN 103.

In certain embodiment(s), the 5GMS AF 1021 may further send a continuitydesirable of at least one media stream service to a network node in thecore network, and the 5GMS AF 1021 may further receive a continuityfeature of the media stream service type corresponding to the servicedifferentiator (and/or a service stream type identifier) from thenetwork node in the core network. Alternatively, the network node in thecore network determines the service differentiator corresponding to theservice stream type identifier based on the local configuration and thenetwork policy. The service differentiator and the continuity featurecorresponding to the service differentiator are returned to the 5GMS AF1021.

In step S3013, the 5GMS AF 1021 determines policy template informationcorresponding to the service differentiators and used for controllingtransmission of the media stream services.

The 5GMS AF 1021 may determine, according to the information receivedfrom the network node in the core network, policy template informationused for controlling transmission of the media stream services.

For example, it is assumed that the network node in the core networksends a service differentiator, an SSC mode, and a service stream typeidentifier in the following Table 4 to the 5GMS AF 1021, and theinformation in the same row represents a set of associationrelationships.

TABLE 4 Continuity correspondence of network node feedback for networkcontrol of media stream determination Service differentiator Servicestream type identifier SSC mode SD1 Media data SSC mode 1 SD1 Usagereporting information SSC mode 2 SD2 Index reporting information SSCmode 3

For example, the 5GMS AF 1021 may populate the policy templateinformation according to the information, for example, policy templateinformation and/or dynamic policy resource information for usagereporting data. For example, the 5GMS AF may determine policy templateinformation as shown in Table 5 below:

TABLE 5 Policy Template Information Property Value Policy templateidentifier policy TemplateId-1 . . . . . . Application session contextThe parameters of the application context include: <flow descriptionidentifier including SD1, SSC mode 1>, <flow description identifierincluding SD2, SSC mode 2> . . . . . .

For example, the 5GMS AF 1021 may further populate the policy templateinformation according to the information. For example, for the policytemplate information of the media data, the 5GMS AF 1021 may determinepolicy template information as shown in Table 6 below:

TABLE 6 Policy Template Information Property Value Policy templateidentifier policyTemplateId-l . . . . . . Session and service continuity(SSC mode) SSC mode 1 Flow description identifier Flow descriptionidentifier, including service differentiator SDI . . . . . .

“. . . ” in Table 5 and Table 6 represents unshown assets andcorresponding values thereof, and the content and form of other fieldsin the policy template information are not limited in the presentdisclosure.

In step S3014, the 5GMS AF 1021 transmits the policy templateinformation and the service differentiators to a user terminal.

Through the method 3010, the 5GMS AF 1021 can negotiate the servicedifferentiator with the network node of the core network through theservice stream type identifier, to realize finer QoS control of themedia stream service. In addition, through the method 3010, the 5GMS AF1021 can negotiate a continuity feature of at least one media streamservice with the network node of the core network, so that the networkside device can control the service continuity when transmitting mediastream services according to service desirables.

In particular, the policy template may be used as the localconfiguration information of the UE. When the UE does not support theURSP rules, according to the information in the policy template, themedia stream services are bound to a specific PDU session according tothe local configuration, or whether to initiate a new PDU session isdetermined. Therefore, the problem that the network side device cannotdetermine the service continuity of the service according to the servicecontinuity desirable of the service provider, and the problem that thedevice in the data network cannot configure a policy template withspecific service continuity for the UE can be resolved.

Therefore, according to the embodiments of the present disclosure, theservice streams of media streams of different functions can bedistinguished by the service differentiators. Since media streamservices of different service stream types may be carried by servicestreams with different QoS, a network node of the 5G core network mayindicate service differentiators that media stream service typescorresponding to different service stream type identifiers may beprovided with to the 5GMS AF 1021. Therefore, a service stream of aspecific service type can be transmitted by different QoS streams of thesame PDU session through a service differentiator that is negotiated bythe network; or a specific service stream can be transmitted bydifferent PDU sessions.

As shown in FIG. 3C and FIG. 3D, the method 3020 includes stepsS3021-S3024.

In step S3021, the 5GMS AF 1021 transmits to-be-determined servicedifferentiators of media stream services to a network node in a corenetwork, the service differentiators being used for distinguishing mediastream services of different service types in the media stream services.

The 5GMS AF 1021 may locally look up a service type of at least onemedia stream corresponding to the media stream service, and send aservice differentiator of the at least one media stream servicecorresponding to the media stream service to a network node in the corenetwork (for example, the NEF 1031 or the PCF 1032, or a combinationthereof). The network node in the core network (for example, the NEF1031 or the PCF 1032, or a combination thereof) may further determine aservice differentiator of a service type of the at least one mediastream corresponding to the media stream service according to a networkprotocol or agreement related to the media stream service.

The service differentiators include at least one of the following: typeof service (TOS) information for Internet Protocol version 4 (IPv4),traffic class information for Internet Protocol version 6 (IPv6), flowlabel information for Internet Protocol version 6 (IPv6), or packetfilter direction information.

The different service differentiators described herein indicate that anyone of the type of service (TOS) information for Internet Protocolversion 4 (IPv4), traffic class information for Internet Protocolversion 6 (IPv6), flow label information for Internet Protocol version 6(IPv6), or packet filter direction information included in the servicedifferentiators is different. A person skilled in the art is tounderstand that various other fields may be alternatively included inthe service differentiators, which may also result in different servicedifferentiators. This is not limited in the present disclosure.

In certain embodiment(s), the 5GMS AF 1021 may further send otherservice desirables and related information about the media streamservices to network nodes (for example, the NEF 1031, the PCF 1032, orboth) in the core network (for example, the CN 103), to assist thenetwork nodes in the CN 103 to be able to set, according to desirablesproposed by the 5GMS AF 1021, a more accurate network policy (that is, apolicy template subsequently delivered by the 5GMS AF 1021 to the UE101) for the media stream services that is more in line with the networkagreement signed between the user and the core network. For example, the5GMS AF 1021 may further send identification information of the 5GMS AF1021, identification information of the 5GMS application provider 1023,QoS desirable information, network slice desirable information, and thelike to the network node in the core network. The information sent bythe 5GMS AF 1021 to the network nodes in the core network are notlimited in the present disclosure, as long as the information can helpthe core network and the 5GMS AF to negotiate a policy for servicetransmission.

In step S3022, the 5GMS AF 1021 receives determined servicedifferentiators of the media stream services from the network node inthe core network.

The network node in the CN 103 checks whether the service differentiatormatches a network policy or local configuration information thereof. Ifthe service differentiator matches the network policy or the localconfiguration information thereof, the network node in the core networkmay determine a service differentiator corresponding to the at least onemedia stream service type, and return the service differentiator to the5GMS AF 1021. If the service differentiator does not match the networkpolicy or the local configuration information thereof, the network nodein the core network may modify or update the service differentiator sentby the 5GMS AF 1021 based on the network policy or the localconfiguration information, and return the service differentiator to the5GMS AF 1021.

In step S3023, the 5GMS AF 1021 determines policy template informationcorresponding to the determined service differentiators and used forcontrolling transmission of the media stream services. In step S3024,the 5GMS AF 1021 transmits the policy template information and theservice differentiators to a user terminal.

Therefore, the method 3020 implements that the service streams of mediastreams with different functions can be distinguished by the servicedifferentiators. Since media stream services of different servicedifferentiators may be carried by service streams with different QoS, anetwork node of the 5G core network may be used to indicate differentservice differentiators that different media stream service types may beprovided with to the 5GMS AF 1021. Therefore, a service stream of aspecific service type can be transmitted by different QoS streams of thesame PDU session through a service differentiator that is negotiated bythe network; or a specific service stream can be transmitted bydifferent PDU sessions.

In addition, an embodiment of the present disclosure further provides amethod for controlling transmission of a media stream service performedby a network node in a data network. The method includes: sending acontinuity desirable of at least one media stream service to a networknode in a core network; receiving a continuity feature of the mediastream service from the network node in the core network; determiningpolicy template information for controlling transmission of the mediastream service, the policy template information including the continuityfeature of the media stream service; and transmitting the policytemplate information for controlling transmission of the media streamservice to a user terminal.

FIG. 4A is a flowchart of a method 4010 for controlling transmission ofa media stream service performed by a network node in a data network.FIG. 4B is a flowchart of a method 4020 for controlling transmission ofa media stream service performed by a network node in a data network.

The methods described in FIG. 4A and FIG. 4B may be performed by the NEF1031 or the PCF 1032 in FIG. 1 , or a combination thereof. The NEF 1031,the PCF 1032, or a combination thereof may be alternatively referred toas a network node in the core network.

As shown in FIG. 4A, the method 4010 includes steps S4011 to S4013.

In step S4011, the network node in the CN 103 receives service streamtype identifiers of media stream services from a network node in a datanetwork, the service stream type identifiers being used for describingmedia stream services of different functions in the media streamservices.

The service stream type identifiers represent features of the at leastone media stream service types or functional features of the mediastream services. For example, the service stream type identifier mayindicate that a specific media stream service is one of the following:media data, network auxiliary information, usage reporting information,or the like.

In certain embodiment(s), a continuity desirable of at least one mediastream service is received from a network node in a data network. Incertain embodiment(s), the at least one media stream service maycorrespond to a service type of at least one media stream. The networknode in the CN 103 may set a corresponding service continuity feature(for example, the SSC mode) for the media stream service according to aservice continuity desirable related to the media stream serviceproposed by the 5GMS AF 1021, and set a corresponding rate for the mediastream service according to the set service continuity feature.

In step S4012, the network node in the core network determines servicedifferentiators of the media stream services based on the service streamtype identifiers of the media stream services, and a network policy orlocal configuration information of the network node in the core network,the service differentiators being used for distinguishing media streamservices of different service types in the media stream services.

The 5GMS AF 1021 may locally look up at least one service typecorresponding to the service stream type identifier of the media streamservice, and send the service differentiator corresponding to the mediastream service to a network node in the CN 103 (for example, the NEF1031 or the PCF 1032, or a combination thereof).

The network node in the CN 103 (for example, the NEF 1031 or the PCF1032, or a combination thereof) may further determine the servicedifferentiator corresponding to the media stream service according to anetwork protocol related to the media stream service and signed with theuser.

The service differentiators include at least one of the following: typeof service (TOS) information for Internet Protocol version 4 (IPv4),traffic class information for Internet Protocol version 6 (IPv6), flowlabel information for Internet Protocol version 6 (IPv6), or packetfilter direction information.

The different service differentiators described herein indicate that anyone of the type of service (TOS) information for Internet Protocolversion 4 (IPv4), traffic class information for Internet Protocolversion 6 (IPv6), flow label information for Internet Protocol version 6(IPv6), or packet filter direction information included in the servicedifferentiators is different. A person skilled in the art is tounderstand that various other fields may be alternatively included inthe service differentiators, which may also result in different servicedifferentiators. This is not limited in the present disclosure.

The network node in the core network determines at least one servicedifferentiator corresponding to the media stream service type based on anetwork policy or local configuration information thereof. Therefore, itcan be ensured that the configuration of the service differentiator onthe service server side (for example, the 5GMS AF 1021) is consistentwith the URSP rules sent to the UE at the network side and theconfiguration on the user plane in the CN 103.

The network node of the 5G core network may assign a specific servicedifferentiator to a data stream of the service type according to theservice stream type identifier, to indicate service differentiatorscorresponding to different service stream type identifiers to the 5GMSAF 1021. Therefore, the service server can set a specific servicedifferentiator for a service stream of a specific service type, and theservice stream of the specific service type can be transmitted throughdifferent QoS streams of the same PDU session; or the service stream ofthe specific service type can be transmitted through different PDUsessions for refined QoS guarantee.

In certain embodiment(s), in response to a determination that the 5GMSAF 1021 sends a service continuity desirable, the network node in the CN103 looks up the agreement signed with the user, and if it is found thatthe user has not paid for a service of specific continuity, the CN 103rejects the desirable of the 5GMS AF 1021, and only sets servicecontinuity for the service of this media stream.

The network node in the core network can determine the continuityfeature of the media stream service (or at least corresponding to onemedia stream service type) based on the service stream type identifierand the continuity desirable of the media stream service. That is, thenetwork node in the core network can indicate the continuity feature ofat least one media stream service type by associating the servicedifferentiator with the continuity feature.

For example, the network node in the core network may set acorrespondence between SSC mode, service differentiator, and servicestream type identifier shown in Table 6 below according to thecontinuity desirable and the service stream type identifier of at leastone media stream service sent by the 5GMS AF 1021 and the local networkpolicy or configuration information. The information in the same row inTable 6 represents a set of association relationships.

TABLE 6 Correspondence between SSC mode, service differentiator, andservice stream type identifier Service differentiator Service streamtype identifier SSC mode SD1 Media data SSC mode 1 SD1 Usage reportinginformation SSC mode 2 SD2 Index reporting information SSC mode 3

In step S4013, the network node in the core network transmits theservice differentiators of the media stream services to the network nodein the data network.

For example, the network node in the core network may feed back theassociation relationships in Table 6 to the 5GMS AF 1021.

For example, the Table 6 may be delivered from the PCF 1032 to the userterminal 101 through the URSP. The URSP generated at the PCF includesthe service differentiator determined through negotiation of the 5GMS AF1021 and the NEF/PCF.

By using the method 4010, through the service stream type identifier,the 5GMS AF 1021 can negotiate a service differentiator of at least onemedia stream service with the network node of the core network, torealize finer QoS control of the media stream service.

By receiving the policy template with the SSC mode and/or servicedifferentiator from the 5GMS AF 1021, the UE 101 may use, wheninitiating or changing a media stream service, a PDU session with theappropriate SSC mode to carry the media stream service. Therefore, theUE 101 can realize the continuity control of the media stream servicewhen initiating or changing a media stream service. In particular, thepolicy template may be used as the local configuration information ofthe UE. When the UE does not support the URSP rules, according to theinformation in the policy template, the media stream services are boundto a specific PDU session according to the local configuration, orwhether to initiate a new PDU session is determined. In this way, theproblem that a network side device cannot determine the servicecontinuity of the service according to the desirables of the serviceprovider.

As shown in FIG. 4B, the method 4020 includes steps S4021 to S4023.

In step 4021, the network node in the core network receivesto-be-determined service differentiators of media stream services from anetwork node in a data network, the service differentiators being usedfor distinguishing media stream services of different service types inthe media stream services.

The network nodes in the core network include network nodes forcontrolling a network exposure function and network nodes forcontrolling a network policy and charging rules function.

The service differentiators include at least one of the following: typeof service (TOS) information for Internet Protocol version 4 (IPv4),traffic class information for Internet Protocol version 6 (IPv6), flowlabel information for Internet Protocol version 6 (IPv6), or packetfilter direction information.

In step 4022, the network node in the core network determines theto-be-determined service differentiators of the media stream services asservice differentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services match a network policy or local configurationinformation of the network node in the core network; and the networknode in the core network determines service differentiators that matchthe network policy or the local configuration information of the networknode in the core network as service differentiators of the media streamservices in response to a determination that the to-be-determinedservice differentiators of the media stream services do not match thenetwork policy or the local configuration information of the networknode in the core network.

In step 4023, the network node in the core network transmits the servicedifferentiators of the media stream services to the network node in thedata network.

In certain embodiment(s), the network node in the core network mayfurther receive the service differentiators of the media stream servicesfrom the network node in the data network; determine the servicedifferentiators of the media stream services based on the servicedifferentiators of the media stream services and the locationconfiguration; and transmit the service differentiators of the mediastream services to the user terminal. For example, the servicedifferentiator may be delivered from the PCF 1032 to the user terminal101 through the URSP. The URSP generated at the PCF includes the servicedifferentiator determined through negotiation of the 5GMS AF 1021 andthe NEF/PCF.

An embodiment of the present disclosure further provides a method forcontrolling transmission of a media stream service performed by anetwork node in a core network. The method includes: receiving acontinuity desirable of at least one media stream service from a networknode in a data network; determining a continuity feature of the at leastone media stream service based on the continuity desirable of the atleast one media stream service; and transmitting the continuity featureof the at least one media stream service to the network node in the datanetwork. For example, the service continuity feature may be deliveredfrom the PCF 1032 to the user terminal 101 through the URSP. Forexample, the service continuity feature is the SSC mode. The URSPgenerated at the PCF includes the SSC mode determined throughnegotiation of the 5GMS AF 1021 and the NEF/PCF.

FIG. 5A is a schematic diagram of a method 50100 for controllingtransmission of a media stream service performed by a communicationsystem shown in FIG. 1 according to an embodiment of the presentdisclosure. FIG. 5B is a schematic diagram of a method 50200 forcontrolling transmission of a media stream service performed by acommunication system shown in FIG. 1 .

The various steps in the methods described in FIG. 5A and FIG. 5B may beperformed by the UE 101, the 5GMS AF 1021, the NEF 1031, or the PCF 1032(or a combination of the NEF 1031 and the PCF 1032) in FIG. 1respectively. The NEF 1031, the PCF 1032, or a combination thereof maybe alternatively referred to as a network node in the core network.

The method 50100 includes steps S50101 to S50111.

In step S50101, a network node in a data network transmits servicestream type identifiers of media stream services to a network node in acore network, the service stream type identifiers being used fordescribing media stream services of different functions in the mediastream services.

In step S50102, the network node in the core network receives theservice stream type identifiers of the media stream services from thenetwork node in the data network.

In step S50103, the network node in the core network determines servicedifferentiators of the media stream services based on the service streamtype identifiers of the media stream services, and a network policy orlocal configuration information of the network node in the core network,the service differentiators being used for distinguishing media streamservices of different service types in the media stream services.

In step S50104, the network node in the core network transmits theservice differentiators of the media stream services to the network nodein the data network.

In step S50105, the network node in the data network receives theservice differentiators corresponding to the media stream services fromthe network node in the core network.

In step S50106, the network node in the data network determines policytemplate information corresponding to the service differentiators andused for controlling transmission of the media stream services.

The policy template information includes a set of parameters that arenegotiated by network nodes in the CN 103 and the SGMS AF 1011. The SGMSAF 1011 may create, obtain, update, and delete related policy templateresources in the process of negotiation with network nodes in the corenetwork by creating a data model of the policy template. Therefore, thepolicy template information may also be referred to as policy templates,policy template resources, policy template resource information, policytemplate data, or the like. In the present disclosure, the naming mannerof the policy template information is used as an example, but the nameof the policy template information is not limited.

In certain embodiment(s), the policy template information furtherincludes a service differentiator, where the service differentiatorindicates a media stream service type. The policy template informationindicates a session policy of at least one media stream service type byassociating the service differentiator with a policy in the policytemplate. In certain embodiment(s), the policy template informationindicates an attribute of a PDU session of at least one media streamservice type by associating the service differentiator with an existingnetwork feature.

For example, it is assumed that a piece of policy template informationhas a policy template identifier: policyTemplateId-1. The policytemplate information includes a service differentiator SD-1 and acontinuity feature CF1 of the media stream service. Since the servicedifferentiator SD-1 and the continuity feature CF1 of the media streamservice are bot located in the policy template information of the policytemplate identifier policyTemplateId-1, the UE 101 can infer that theservice differentiator SD-1 and the continuity feature CF1 of the mediastream service are associated.

That is, the media stream service corresponding to the flow descriptionidentifier including the service differentiator SD-1 is to have thecontinuity feature CF1 of the media stream service.

Alternatively, the dynamic policy resource may further store the servicedifferentiators and the policy template identifiers in the form of akey-value pair to establish an association relationship between theservice differentiators and the policy template identifiers, and furtherdetermine the correlation between the service differentiators and thecontinuity features of the media stream services through the associationrelationship. For example, the flow description identifiers of theservice differentiators are used as keys and the policy templateidentifiers are used as values to construct the following key-valuepairs: <flow description identifier of service differentiator SD-1,policy template identifier policyTemplateId-1>, <flow descriptionidentifier of service differentiator SD-2, policy template identifierpolicyTemplateId-2>, <flow description identifier of servicedifferentiator SD-3, policy template identifier policyTemplateId-3>, andthe like. For example, a dynamic policy resource may further construct akey-value pair with a policy template identifier as a key and a flowdescription identifier of a service differentiator as a value. Forexample, a dynamic policy resource may further construct a key-valuepair with a policy template identifier as a key and a servicedifferentiator as a value. The manner of associating the servicedifferentiators with the policy template identifiers is not furtherlimited in the present disclosure. In the embodiments of the presentdisclosure, the SSC mode may be used to represent a session and servicecontinuity of the media stream. A person skilled in the art is tounderstand that other parameters may be alternatively used to representthe continuity feature of the media stream. In certain embodiment(s),the SSC mode is associated with a protocol data unit (PDU) session andremains unchanged for the duration of the PDU session.

In step S50107, the network node in the data network transmits thepolicy template information and the service differentiators to a userterminal.

In step S50108, the user terminal receives, from the network node in thedata network, policy template information for controlling transmissionof media stream services and service differentiators corresponding tothe policy template information.

In step S50109, the user terminal determines a service differentiator ofa to-be-initiated media stream service based on the policy templateinformation and the service differentiators.

In step S50110, the user terminal determines whether a protocol dataunit session capable of carrying the to-be-initiated media streamservice exists, the protocol data unit session including a quality ofservice stream corresponding to the service differentiator of theto-be-initiated media stream service.

In step S50111, the user terminal binds the to-be-initiated media streamservice to the quality of service stream in the protocol data unitsession in response to a determination that the protocol data unitsession exists; and the user terminal establishes, in response to adetermination that the protocol data unit session does not exist, aprotocol data unit session including the quality of service streamcorresponding to the service differentiator of the to-be-initiated mediastream service.

The method 50200 includes steps S50201 to S50211.

The method 50200 includes steps S50201 to S50211.

In step S50201, a network node in a data network transmitsto-be-determined service differentiators of media stream services to anetwork node in a core network, the service differentiators being usedfor distinguishing media stream services of different service types inthe media stream services.

In step S50202, the network node in the core network receives theto-be-determined service differentiators of the media stream servicesfrom the network node in the data network.

In step S50203, the network node in the core network determines theto-be-determined service differentiators of the media stream services asservice differentiators of the media stream services in response to adetermination that the to-be-determined service differentiators of themedia stream services match a network policy or local configurationinformation of the network node in the core network; and determining, bythe network node in the core network, service differentiators that matchthe network policy or the local configuration information of the networknode in the core network as service differentiators of the media streamservices in response to a determination that the to-be-determinedservice differentiators of the media stream services do not match thenetwork policy or the local configuration information of the networknode in the core network.

In step S50204, the network node in the core network transmits theservice differentiators of the media stream services to the network nodein the data network.

In step S50205, the network node in the data network receives theservice differentiators corresponding to the media stream services fromthe network node in the core network.

In step S50206, the network node in the data network determines policytemplate information corresponding to the service differentiators andused for controlling transmission of the media stream services.

In step S50207, the network node in the data network transmits thepolicy template information and the service differentiators to a userterminal.

In step S50208, the user terminal receives, from the network node in thedata network, policy template information for controlling transmissionof media stream services and service differentiators corresponding tothe policy template information.

In step S50209, the user terminal determines a service differentiator ofa to-be-initiated media stream service based on the policy templateinformation and the service differentiators.

In step S50210, the user terminal determines whether a protocol dataunit session capable of carrying the to-be-initiated media streamservice exists, the protocol data unit session including a quality ofservice stream corresponding to the service differentiator of theto-be-initiated media stream service.

In step S50211, the user terminal binds the to-be-initiated media streamservice to the quality of service stream in the protocol data unitsession in response to a determination that the protocol data unitsession exists; and the user terminal establishes, in response to adetermination that the protocol data unit session does not exist, aprotocol data unit session including the quality of service streamcorresponding to the service differentiator of the to-be-initiated mediastream service.

In the method 50100 and the method 50200, the network side device andthe user terminal may further use service differentiators to identifysubdivision types of a media stream service, and divide media streamservices with the same service differentiator by using service streamtype identifiers, to realize finer QoS control and service continuitycontrol of the media stream service.

Since an SSC mode of a PDU session does not change during existence, inresponse to a determination that a PDU session matching a continuityfeature of a to-be-initiated media stream service exists, the UE 101 maybind the to-be-initiated media stream service to the PDU session, sothat the PDU session can carry the to-be-initiated media stream service.In certain embodiment(s), if there is no PDU session that matches thecontinuity feature of the to-be-initiated media stream service, the UE101 may establish a PDU session (that is, a PDU session with a specificSSC mode) that meets the continuity desirables of the to-be-initiatedmedia stream service.

In the method 50100 and the method 50200, the user terminal may furtherreceive a policy template with a continuity feature from a network sidedevice, and the user terminal may use a PDU session with the appropriatecontinuity feature to carry the media stream service during movement.Therefore, the user terminal can realize the continuity control of themedia stream service during movement. In this way, the problem that thenetwork side device cannot configure the corresponding servicecontinuity for a media stream service for the user terminal is resolved.

In the method 50100 and the method 50200, the network node of the datanetwork can further negotiate a continuity feature of at least one mediastream service with the network node of the core network, so that thenetwork side device can control the service continuity when transmittingmedia stream services according to desirables of the service provider.

Therefore, the present disclosure further provides a method forcontrolling transmission of a media stream service, including: sending,by a network node in a data network, a continuity desirable of at leastone media stream service to a network node in a core network;determining, by the network node in the core network, a continuityfeature of the media stream service based on the continuity desirable ofthe media stream service; transmitting, by the network node in the corenetwork, the continuity feature of the media stream service to thenetwork node in the data network; determining, by the network node inthe data network, policy template information for controllingtransmission of the media stream service, the policy templateinformation including the continuity feature of the media streamservice; transmitting, by the network node in the data network, thepolicy template information for controlling transmission of the mediastream service to a user terminal; determining, by the user terminal, acontinuity feature of the to-be-initiated media stream service based onthe to-be-initiated media stream service and the policy templateinformation; determining, by the user terminal, whether a protocol dataunit session capable of carrying the to-be-initiated media streamservice exists, the protocol data unit session including the continuityfeature of the to-be-initiated media stream service; binding, by theuser terminal, the to-be-initiated media stream service to the protocoldata unit session in response to a determination that the protocol dataunit session exists; and establishing, by the user terminal in responseto a determination that the protocol data unit session does not exist, aprotocol data unit session including the continuity feature of theto-be-initiated media stream service.

FIG. 6 shows an architecture of an electronic device 600 according to anembodiment of the present disclosure.

The device (for example, the terminal or the network node) according tothe embodiments of the present disclosure may alternatively beimplemented by using the architecture of the electronic device shown inFIG. 6 . FIG. 6 shows an architecture of a computing device. As shown inFIG. 6 , the computing device 600 may include a bus 610, one or more CPU620, a read-only memory (ROM) 630, a random access memory (RAM) 640, acommunication port 650 connected to a network, an input/output component660, a hard disk 670, and the like. Storage devices, for example, theROM 630 or the hard disk 660, in the computing device 600 may storevarious data or files used in processing and/or communication in acomputer and program instructions executed by the CPU. The computingdevice 600 may further include a user interface 680. In certainembodiment(s), the architecture shown in FIG. 6 is only exemplary, andwhen different devices are implemented, one or more components in thecomputing device shown in FIG. 6 may be omitted.

The embodiments of the present disclosure may be alternativelyimplemented as a non-volatile computer-readable storage medium. Thenon-volatile computer-readable storage medium according to theembodiments of the present disclosure stores a computer-readableinstruction. The computer-readable instruction, when executed by aprocessor, may perform the method according to the embodiments of thepresent disclosure described with reference to the accompanyingdrawings. The non-volatile computer-readable storage medium includes,but is not limited to, a volatile memory and/or a non-volatile memory.For example, the volatile memory may include a RAM and/or a high-speedcache. For example, the non-volatile memory may include a ROM, a harddisk, or a flash memory.

The embodiments of the present disclosure may be alternativelyimplemented as a computer program product or a computer program. Thecomputer program product or the computer program includes computerinstructions, and the computer instructions are stored in a non-volatilecomputer-readable storage medium. A processor of a computing devicereads the computer instructions from the computer-readable storagemedium, and executes the computer instructions, so that the computingdevice performs the method provided in the aspects or the optionalimplementations in the aspects.

The term unit (and other similar terms such as subunit, module,submodule, etc.) in this disclosure may refer to a software unit, ahardware unit, or a combination thereof. A software unit (e.g., computerprogram) may be developed using a computer programming language. Ahardware unit may be implemented using processing circuitry and/ormemory. Each unit can be implemented using one or more processors (orprocessors and memory). Likewise, a processor (or processors and memory)can be used to implement one or more units. Moreover, each unit can bepart of an overall unit that includes the functionalities of the unit.

A person skilled in the art can understand that, content disclosed inthe present disclosure may have various variations and improvements. Forexample, the devices or components described above may be implemented byusing hardware, or may be implemented by using software, firmware, or acombination of some of or all of the software, the firmware, and thehardware.

In addition, as shown in the present disclosure and the claims, wordssuch as “a/an”, “one”, “one kind”, and/or “the” do not refer to singularforms and may also include plural forms, unless the context expresslyindicates an exception. The “first”, the “second”, and similar termsused in the present disclosure do not indicate any order, quantity orsignificance, but are used to only distinguish different components.Similarly, “include”, “including”, or similar terms mean that elementsor items appearing before the term cover elements or items listed afterthe term and their equivalents, but do not exclude other elements oritems. A similar term such as “connect” or “connection” is not limitedto a physical or mechanical connection, but may include an electricalconnection, whether direct or indirect.

In addition, flowcharts are used in the present disclosure forillustrating operations performed by the system according to theembodiments of the present disclosure. It is to be understood that, theor following operations are not necessarily strictly performed accordingto an order. On the contrary, the operations may be performed in areverse order or simultaneously. Meanwhile, other operations may beadded to the processes. Alternatively, one or more operations may bedeleted from the processes.

Unless otherwise defined, all terms (including technical and scientificterms) used herein have the same meaning as commonly understood by oneof ordinary skill in the art to which the present invention belongs. Itis further to be understood that, the terms such as those defined incommonly used dictionaries are not to be interpreted in an idealized orextremely formalized sense, unless expressively so defined herein.

The present disclosure is described in detail above, but for a personskilled in the art, it is obvious that the present disclosure is notlimited to the implementations described in this specification. Thepresent disclosure may be implemented in a modification and changemanner without departing from the spirit and scope of the presentdisclosure determined by a record of the claims. Therefore, thedescription in the present disclosure is for the purpose of illustrationand does not have any restrictive meaning for the present disclosure.

What is claimed is:
 1. A method for controlling transmission of a mediastream service, the method comprising: receiving, from a network node ina data network, policy template information for controlling transmissionof media stream services and service differentiators corresponding tothe policy template information, the service differentiators being usedfor distinguishing media stream services of different service types inthe media stream services; determining a service differentiator of ato-be-initiated media stream service based on the policy templateinformation and the service differentiators; determining whether aprotocol data unit session capable of carrying the to-be-initiated mediastream service exists, the protocol data unit session including aquality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service; binding the to-be-initiatedmedia stream service to the quality of service stream in the protocoldata unit session in response to a determination that the protocol dataunit session exists; and establishing, in response to a determinationthat the protocol data unit session does not exist, a protocol data unitsession including the quality of service stream corresponding to theservice differentiator of the to-be-initiated media stream service. 2.The method according to claim 1, wherein receiving the policy templateinformation comprises: receiving a dynamic policy resource from thenetwork node in the data network, wherein the dynamic policy resourceincludes: a policy template identifier for identifying the policytemplate information, and flow description identifiers including theservice differentiators corresponding to the policy templateinformation.
 3. The method according to claim 1, wherein the servicedifferentiators include one or more of: type of service (TOS)information for Internet Protocol version 4 (IPv4), traffic classinformation for Internet Protocol version 6 (IPv6), flow labelinformation for Internet Protocol version 6 (IPv6), and packet filterdirection information.
 4. The method according to claim 1, wherein thepolicy template information includes continuity features of the mediastream services, and determining whether the protocol data unit sessioncapable of carrying the to-be-initiated media stream service existscomprises: determining whether the protocol data unit session capable ofcarrying the to-be-initiated media stream service has a continuityfeature of the to-be-initiated media stream service.
 5. The methodaccording to claim 1, wherein the service differentiators are determinedby: receiving service stream type identifiers of media stream servicesfrom the network node, the service stream type identifiers being usedfor describing media stream services of different functions in the mediastream services; and determining the service differentiators of themedia stream services based on the service stream type identifiers ofthe media stream services.
 6. The method according to claim 5, whereinthe service differentiators include one or more of: type of service(TOS) information for Internet Protocol version 4 (IPv4), traffic classinformation for Internet Protocol version 6 (IPv6), flow labelinformation for Internet Protocol version 6 (IPv6), and packet filterdirection information.
 7. The method according to claim 1, wherein theservice differentiator of the to-be-initiated media stream service isdetermined by: determining a candidate service differentiator as theservice differentiator of the to-be-initiated media stream services inresponse to a determination that the candidate service differentiatormatches a network policy or local configuration information of a networknode in a core network.
 8. The method according to claim 7, wherein thenetwork node in the core network includes a network node for controllinga network exposure function or a network node for controlling a networkpolicy.
 9. A user terminal for controlling transmission of a mediastream service, the user terminal comprising: a memory; and one or moreprocessors, operably coupled to the memory, the memory and the one ormore processors being configured to: receive, from a network node in adata network, policy template information for controlling transmissionof media stream services and service differentiators corresponding tothe policy template information, the service differentiators being usedfor distinguishing media stream services of different service types inthe media stream services; determine a service differentiator of ato-be-initiated media stream service based on the policy templateinformation and the service differentiators; determine whether aprotocol data unit session capable of carrying the to-be-initiated mediastream service exists, the protocol data unit session including aquality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service; bind the to-be-initiated mediastream service to the quality of service stream in the protocol dataunit session in response to a determination that the protocol data unitsession exists; and establish, in response to a determination that theprotocol data unit session does not exist, a protocol data unit sessionincluding the quality of service stream corresponding to the servicedifferentiator of the to-be-initiated media stream service.
 10. The userterminal according to claim 9, wherein receiving the policy templateinformation includes: receiving a dynamic policy resource from thenetwork node in the data network, wherein the dynamic policy resourceincludes: a policy template identifier for identifying the policytemplate information, and flow description identifiers including theservice differentiators corresponding to the policy templateinformation.
 11. The user terminal according to claim 9, wherein theservice differentiators include one or more of: type of service (TOS)information for Internet Protocol version 4 (IPv4), traffic classinformation for Internet Protocol version 6 (IPv6), flow labelinformation for Internet Protocol version 6 (IPv6), and packet filterdirection information.
 12. The user terminal according to claim 9,wherein the policy template information includes continuity features ofthe media stream services, and determining whether the protocol dataunit session exists includes: determining whether the protocol data unitsession capable of carrying the to-be-initiated media stream service hasa continuity feature of the to-be-initiated media stream service. 13.The user terminal according to claim 9, wherein the servicedifferentiators are determined by: receiving service stream typeidentifiers of media stream services from the network node, the servicestream type identifiers being used for describing media stream servicesof different functions in the media stream services; and determining theservice differentiators of the media stream services based on theservice stream type identifiers of the media stream services.
 14. Theuser terminal according to claim 13, wherein the service differentiatorsinclude one or more of: type of service (TOS) information for InternetProtocol version 4 (IPv4), traffic class information for InternetProtocol version 6 (IPv6), flow label information for Internet Protocolversion 6 (IPv6), and packet filter direction information.
 15. The userterminal according to claim 9, wherein the service differentiator of theto-be-initiated media stream service is determined by: determining acandidate service differentiator as the service differentiator of theto-be-initiated media stream services in response to a determinationthat the candidate service differentiator matches a network policy orlocal configuration information of a network node in a core network. 16.The user terminal according to claim 15, wherein the network node in thecore network includes a network node for controlling a network exposurefunction or a network node for controlling a network policy.
 17. Anon-volatile computer-readable storage medium, storing computerinstructions, the computer instructions, when executed by a processor,implementing a method of: receiving, from a network node in a datanetwork, policy template information for controlling transmission ofmedia stream services and service differentiators corresponding to thepolicy template information, the service differentiators being used fordistinguishing media stream services of different service types in themedia stream services; determining a service differentiator of ato-be-initiated media stream service based on the policy templateinformation and the service differentiators; determining whether aprotocol data unit session capable of carrying the to-be-initiated mediastream service exists, the protocol data unit session including aquality of service stream corresponding to the service differentiator ofthe to-be-initiated media stream service; binding the to-be-initiatedmedia stream service to the quality of service stream in the protocoldata unit session in response to a determination that the protocol dataunit session exists; and establishing, in response to a determinationthat the protocol data unit session does not exist, a protocol data unitsession including the quality of service stream corresponding to theservice differentiator of the to-be-initiated media stream service. 18.The non-volatile computer-readable storage medium according to claim 17,wherein receiving the policy template information includes: receiving adynamic policy resource from the network node in the data network,wherein the dynamic policy resource includes: a policy templateidentifier for identifying the policy template information, and flowdescription identifiers including the service differentiatorscorresponding to the policy template information.
 19. The non-volatilecomputer-readable storage medium according to claim 17, wherein theservice differentiators include one or more of: type of service (TOS)information for Internet Protocol version 4 (IPv4), traffic classinformation for Internet Protocol version 6 (IPv6), flow labelinformation for Internet Protocol version 6 (IPv6), and packet filterdirection information.
 20. The non-volatile computer-readable storagemedium according to claim 17, wherein the policy template informationincludes continuity features of the media stream services, anddetermining whether the protocol data unit session capable of carryingthe to-be-initiated media stream service exists includes: determiningwhether the protocol data unit session capable of carrying theto-be-initiated media stream service has a continuity feature of theto-be-initiated media stream service.